package com.zhuiyun.project.api.record.entity;

import com.zhuiyun.project.common.entity.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @ClassName Record
 * @Description TODO
 * @Author XC8
 * @Date 2024/2/26 14:12
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "record")
public class Record extends BaseEntity {
    /**
     * 主键id
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private int rId;
    /**
     * 视频键
     */
    private int vId;
    /**
     * 用户键
     */
    private Integer userId;
    /**
     * 播放量
     */
    private Integer videoViews;
    /**
     * 点赞量
     */
    private Integer likeCounts;
    /**
     * 封面
     */
    private Integer coverNumber;
    /**
     * 时间
     */
    private String rTime;

}
